package com.peanut.baby.mvp.mydata.daily;

import com.peanut.baby.model.CalendarRecord;
import com.peanut.baby.mvp.BasePresenter;
import com.peanut.baby.mvp.BaseView;

import java.util.List;

/**
 * Created by anonymouslystudio on 2017/8/28.
 */

public interface DailyDataFragmentContract {

    interface View extends BaseView{
        void onListGet(List<CalendarRecord> records);
        void onGetListFailed(String reason);
    }

    interface Presenter extends BasePresenter{
        void getRecordList(int pageNo, int pageSize);
    }
}
